namespace LinqProgram;

public class Class1
{
    public int Index { get; set; }
    public string? Str { get; set; }
    public string? Str2 { get; set; }


    public static Class1 GetClass1(int i)
    {
        return new Class1()
        {
            Index = i,
            Str = "str1",
            Str2 = "str2"
        };
    }
}


public class Class2
{
    public int Index { get; set; }
    public string? Str3 { get; set; }
    public string? Str2 { get; set; }


    public static Class2 GetClass2(int i)
    {
        return new Class2()
        {
            Index = i,
            Str3 = "str1",
            Str2 = "str2"
        };
    }
}